<table class="table table-hover">
  <thead>
    <tr>
      <th>ID</th>
      <th>用户名称</th>
      <th>用户昵称</th>
      <th>email</th>
      <th>中奖等级</th>
      <th>活动状态</th>
    </tr>
  </thead>
  <tbody>
  <volist name="activityRecordLists" id="vo">
  <tr>
    <td>{$vo.id}</td>
    <td>{$vo.name}</td>
    <td>{$vo.nick_name}</td>
    <td>{$vo.email}</td>
    <td>{$vo['prize']==0?'未中奖':$vo['prize'].'等奖'}</td>
    <td><select class="ac_record" ac_record_id="{$vo.ac_record_id}" ac_id="{$vo.ac_id}">{$vo.statusOptions}</select></td>
  </tr>
  </volist>
  </tbody>
</table>
<div class="pagination">{$pagination}</div>

<script type="text/javascript" >
$("select.ac_record").change(function() {
	$.post("__CONTROLLER__/setAcRecordStatus", {"ac_record_id":$(this).attr("ac_record_id"), "status":$(this).val()}, function(data) {
		$().alertMsg ( {type: data.error?"error":"success", msg: data.msg} );
	});
});
</script>